class UrlMappings {
    static mappings = {
        
        "/" ( controller: "default" )

        "/$controller/$action?/$id?" {
            constraints {
                // apply constraints here
            }
        }
    }
}